home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Code Resources / icl8 LDEF 2.0 / icl8 LDEF Readme < prev    next >
Text File  |  1995-11-14  |  2KB  |  30 lines

  1. icl8 LDEF
  2. version 2.0
  3. Nov 14 95
  4.  
  5. This is a <relatively> quick hack; however it is an update to an LDEF I wrote a while back (and no one complained then) so the code seems pretty stable.
  6.  
  7. The LDEF calls on PlotIconID() to draw the icons; thus depending on the depth and cell size of whatever gets drawn, icl8, ics8, or icl4, etc is used.
  8.  
  9. What distinguishes this LDEF from the many masses of other LDEFs out there is the different ways this LDEF supports hiliting a cell:
  10.  
  11.     - hilite by plain old inversion (if the background isn't white, you'll get a funky result)
  12.     - hilite by using the hilite color
  13.     - framing the cell using a black border
  14.     - framing the cell using the hilite color
  15.     - framing the cell using a custom drawing routine inside the LDEF; the border looks like the border of the movable modal dialogs in System 7. Pretty cool!
  16.     - darkening the icon in the same way an icon is darkened when selected in the Finder
  17.  
  18. Also, the LDEF can draw the name of the icon if you wish (the name is taken from the icl8 resource). The font and size is Geneva 9; this is hard-coded into the LDEF. You can change this in the source code if it isn't to your liking.
  19.  
  20. Read the "icl8 LDEF.h" header file for specific info on how you should pass the cell data to the LDEF.
  21.  
  22. NOTE: If your monitor is set to less than 8-bit, you won't see the icons drawn. This is not a bug in the LDEF! I have not supplied the appropriate icl4, icl1, ics4, etc resources required for those depths.
  23.  
  24. NOTE II: The PowerPC LDEF version is untested, as I have access to a PowerMac as often as I see a blue moon. If the LDEF crashes, it could be due to the __procInfo field or setting the main entrypoint to main.
  25.  
  26.  
  27.  
  28. --Hiep Dam
  29. --From The Witches' Brew
  30. --starlabs@aol.com